package zld369504.tw.m_team.exception;


public class MyException  extends Exception{
    private String location;

    public MyException(String ex,String location){
        super(ex);
        this.location=location;
    }

    public String getLocation(){
        return location;
    }

    @Override
    public String toString() {
        return location;
    }
}
